﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzDesk.Core.Model;

namespace EzDesk.Core.ServiceImpl.Filters
{
    public static  class DeptFilter
    {
        public static IQueryable<Dept> ByDeptName(this IQueryable<Dept> query, string deptName)
        {
            return query.Where(p => p.DeptName == deptName);
        }
    }
}
